package com.oweight.sagacious.auth.server;

import com.oweight.sagacious.common.annotation.SageBootApplication;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 鉴权服务端
 *
 * @author 周广明
 * @version v1 2019/10/21 17:28
 */
@Slf4j
@EnableFeignClients
@EnableDiscoveryClient

@SageBootApplication
@EnableScheduling
public class SageAuthBootstrap {

    public static void main(String[] args) {
        SpringApplication.run(SageAuthBootstrap.class, args);
        log.info("鉴权服务启动成功!");
    }
}
